package com.tiles.service.Impl;

import com.tiles.entity.TbStudent;
import com.tiles.mapper.StudentMapper;
import com.tiles.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import tk.mybatis.mapper.entity.Example;

import java.util.List;

@Service("studentService")
public class StudentServiceImpl implements StudentService {
    @Autowired
    private StudentMapper studentMapper;

    @Override
    public List<TbStudent> selectStudentAll(Example abc) {
        return studentMapper.selectByExample(abc);

    }
}
